[Pkg-javascript-commits] [dojo] 27/58: Add dj_edge flag to be consistent w/flags for other browsers. Also fix some problems with the uacss test file. Refs #18712.

David Prévot taffit at moszumanska.debian.org
Thu Mar 24 04:28:25 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag 1.10.5
in repository dojo.

commit 638d32fbe9d03a008656edaf2846b7095d2b3186
Author: Bill Keese <bill at dojotoolkit.org>
Date:   Fri Oct 2 17:41:43 2015 +0900

    Add dj_edge flag to be consistent w/flags for other browsers.
    Also fix some problems with the uacss test file.
    Refs #18712.
    
    (cherry picked from commit a780a4e73b4a5d942e56723f1315fe9164ec80f7)
---
 tests/uacss/sniffStandards.html | 10 ++++------
 uacss.js                        |  1 +
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/tests/uacss/sniffStandards.html b/tests/uacss/sniffStandards.html
index 08a4632..3ca0d66 100644
--- a/tests/uacss/sniffStandards.html
+++ b/tests/uacss/sniffStandards.html
@@ -1,7 +1,5 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!DOCTYPE html>
+<html lang="en">
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
 
@@ -22,7 +20,7 @@
 			height: 60px;
 		}
 	</style>
-	<script type="text/javascript" src="../../dojo.js" data-dojo-config="isDebug:true"></script>
+	<script type="text/javascript" src="../../dojo.js" data-dojo-config="isDebug:true, async:true"></script>
 	<script type="text/javascript">
 		require([
 			"doh",
@@ -35,7 +33,7 @@
 			reportNode.innerHTML = json.stringify({
 				boxModel: domGeom.boxModel,
 				hasQuirks: has("quirks"),
-				width: dojo.style(node, "width"),
+				width: domStyle.get(node, "width"),
 				marginBoxWidth: domGeom.getMarginBox(node).w,
 				htmlClassName: document.documentElement.className
 			}, null, "    ");
diff --git a/uacss.js b/uacss.js
index f06c20a..ef2b2b6 100644
--- a/uacss.js
+++ b/uacss.js
@@ -41,6 +41,7 @@ define(["./dom-geometry", "./_base/lang", "./domReady", "./sniff", "./_base/wind
 			"dj_webkit": has("webkit"),
 			"dj_safari": has("safari"),
 			"dj_chrome": has("chrome"),
+			"dj_edge": has("edge"),
 
 			"dj_gecko": has("mozilla"),
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git



More information about the Pkg-javascript-commits mailing list