<script src="chrome://resources/js/cr.js"></script> | |
<script src="chrome://resources/js/cr/ui/focus_manager.js"></script> | |
<script src="chrome://resources/js/load_time_data.js"></script> | |
<script src="chrome://resources/js/util.js"></script> | |
<script src="chrome://chrome/uber.js"></script> | |
<script src="chrome://chrome/uber_utils.js"></script> | |
</head> | |
<body> | |
<div id="navigation"><iframe src="chrome://uber-frame/" name="chrome" role="presentation"></iframe></div> | |
<div class="iframe-container" | |
i18n-values="id:historyHost; data-url:historyFrameURL;" | |
data-favicon="IDR_HISTORY_FAVICON"></div> | |
<div class="iframe-container" | |
i18n-values="id:extensionsHost; data-url:extensionsFrameURL;" | |
data-favicon="IDR_EXTENSIONS_FAVICON"></div> | |
<div class="iframe-container" | |
i18n-values="id:settingsHost; data-url:settingsFrameURL;" | |
data-favicon="IDR_SETTINGS_FAVICON"></div> | |
<div class="iframe-container" | |
i18n-values="id:helpHost; data-url:helpFrameURL;" | |
data-favicon="IDR_PRODUCT_LOGO_16"></div> | |
<script src="chrome://chrome/strings.js"></script> | |
<script src="chrome://resources/js/i18n_template.js"></script> |
Origin: | https://1.client-channel.google.com/ |
Size on disk: | 265 B |
Last modified: | Saturday, September 26, 2015 at 8:49:19 AM |
Name: | __utmz | ||||||||||||||||||||||||||||||||||||||||||||
Content: | 73091649.1443288280.7.5.utmcsr=chrome-app-launcher|utmccn=(not%20set)|utmcmd=(not%20set) | ||||||||||||||||||||||||||||||||||||||||||||
Domain: | .chrome.google.com | ||||||||||||||||||||||||||||||||||||||||||||
Path: | / | ||||||||||||||||||||||||||||||||||||||||||||
Send for: | Any kind of connection | ||||||||||||||||||||||||||||||||||||||||||||
Accessible to script: | Yes | ||||||||||||||||||||||||||||||||||||||||||||
Created: | Saturday, September 26, 2015 at 2:55:12 PM | ||||||||||||||||||||||||||||||||||||||||||||
Expires:
| Sunday, March 27, 2016 at 2:55:12 AM
|
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
document.implementation.createDocument("", "").createElement("div") is an Element that you can appendChild and will render but is not an HTMLDivElement, it won't respect the class attribute since that's an HTML concept, but will respect tag names, ids, pseudos and other things. getBoundingClientRect() will work fine on it, but offsetTop won't exist since this intent removed it. You can also get into this situation by appending an XHR's responseXML to the page.
Looking at the original intent its claim that they're always null/0 is wrong, they return values for plain Element just like they would for an HTMLElement. This is also true in Safari.
What does Edge do?
document.implementation.createDocument("", "").createElement("div") is an Element that you can appendChild and will render but is not an HTMLDivElement, it won't respect the class attribute since that's an HTML concept, but will respect tag names, ids, pseudos and other things. getBoundingClientRect() will work fine on it, but offsetTop won't exist since this intent removed it. You can also get into this situation by appending an XHR's responseXML to the page.
Looking at the original intent its claim that they're always null/0 is wrong, they return values for plain Element just like they would for an HTMLElement. This is also true in Safari.
What does Edge do?
On Tue, Oct 27, 2015 at 4:46 PM, Elliott Sprehn <esp...@chromium.org> wrote:document.implementation.createDocument("", "").createElement("div") is an Element that you can appendChild and will render but is not an HTMLDivElement, it won't respect the class attribute since that's an HTML concept, but will respect tag names, ids, pseudos and other things. getBoundingClientRect() will work fine on it, but offsetTop won't exist since this intent removed it. You can also get into this situation by appending an XHR's responseXML to the page.
Fascinating, thanks!Looking at the original intent its claim that they're always null/0 is wrong, they return values for plain Element just like they would for an HTMLElement. This is also true in Safari.
What does Edge do?
From a simple test it looks like Edge and Gecko both behave as Chrome now does (offsetTop is undefined on Element).
Philip