[Webkit-unassigned] [Bug 134721] Move dir attribute from HTMLDocument to Document to match the spec
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 8 22:32:16 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=134721
Ryosuke Niwa <rniwa at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #234615|review? |review-
Flag| |
--- Comment #7 from Ryosuke Niwa <rniwa at webkit.org> 2014-07-08 22:32:30 PST ---
(From update of attachment 234615)
View in context: https://bugs.webkit.org/attachment.cgi?id=234615&action=review
> Source/WebCore/ChangeLog:6
> + Reviewed by NOBODY (OOPS!).
You need a blank line after this.
> Source/WebCore/ChangeLog:8
> + http://www.w3.org/html/wg/drafts/html/master/dom.html#dom-dir
Please refer to a specific version of the spec since WG could be updated in the future.
> Source/WebCore/ChangeLog:9
> + This is a blinkMerge from https://src.chromium.org/viewvc/blink?revision=171529&view=revision
should read "a blink merge".
> Source/WebCore/bindings/objc/PublicDOMInterfaces.h:112
> - (DOMElement *)createElement:(NSString *)tagName;
This attribute is certainly not available in OS X 10.5. r- because of this.
> Source/WebCore/bindings/objc/PublicDOMInterfaces.h:-456
> - at property (copy) NSString *dir WEBKIT_AVAILABLE_MAC(10_5);
I don't think we can make this change safely.
> LayoutTests/fast/dom/dir-non-html-document.html:12
> +var xmlDocument = document.implementation.createDocument("", "", null);
> +shouldBe("xmlDocument.__proto__", "Document.prototype");
Please test a SVG document as well as a MathML document to ensure
assigning a value doesn't modify SVG and/or MathML document.
You also need to fix fast/dom/assign-to-prototype-accessor-on-prototype-should-be-silent.html
as it assumes that Document.prototype.dir doesn't exist but the change set http://trac.webkit.org/r168385
makes me think that this patch may not be Web compatible to begin with.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list