[Pkg-javascript-commits] [dojo] 84/149: Add dj_edge flag to be consistent w/flags for other browsers. Also fix some problems with the uacss test file. Refs #18172.
David Prévot
taffit at moszumanska.debian.org
Sat Feb 27 03:13:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository dojo.
commit a780a4e73b4a5d942e56723f1315fe9164ec80f7
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 #18172.
---
testsDOH/uacss/sniffStandards.html | 10 ++++------
uacss.js | 1 +
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/testsDOH/uacss/sniffStandards.html b/testsDOH/uacss/sniffStandards.html
index b987b99..ccf837a 100644
--- a/testsDOH/uacss/sniffStandards.html
+++ b/testsDOH/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