Bug 171845 - Update DocumentOrShadowRoot.idl to match specifications
Summary: Update DocumentOrShadowRoot.idl to match specifications
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-08 21:04 PDT by Chris Dumez
Modified: 2017-05-09 08:04 PDT (History)
8 users (show)

See Also:


Attachments
Patch (4.31 KB, patch)
2017-05-08 21:09 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Chris Dumez 2017-05-08 21:09:02 PDT
Created attachment 309464 [details]
Patch
Comment 2 Ryosuke Niwa 2017-05-08 21:15:57 PDT
Comment on attachment 309464 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=309464&action=review

> Source/WebCore/dom/Document.idl:106
> +    // FIXME: Should likely be moved to DocumentOrShadowRoot.

Not sure if "likely" is necessary given the current spec says so. We can remove the comment if we change the spec.
Comment 3 Chris Dumez 2017-05-08 21:17:43 PDT
Comment on attachment 309464 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=309464&action=review

>> Source/WebCore/dom/Document.idl:106
>> +    // FIXME: Should likely be moved to DocumentOrShadowRoot.
> 
> Not sure if "likely" is necessary given the current spec says so. We can remove the comment if we change the spec.

Well, my issue is that https://w3c.github.io/webcomponents/spec/shadow/#extensions-to-the-documentorshadowroot-mixin & https://drafts.csswg.org/cssom/#extensions-to-the-document-interface disagree.
Comment 4 Ryosuke Niwa 2017-05-08 21:22:51 PDT
(In reply to Chris Dumez from comment #3)
> Comment on attachment 309464 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=309464&action=review
> 
> >> Source/WebCore/dom/Document.idl:106
> >> +    // FIXME: Should likely be moved to DocumentOrShadowRoot.
> > 
> > Not sure if "likely" is necessary given the current spec says so. We can remove the comment if we change the spec.
> 
> Well, my issue is that
> https://w3c.github.io/webcomponents/spec/shadow/#extensions-to-the-
> documentorshadowroot-mixin &
> https://drafts.csswg.org/cssom/#extensions-to-the-document-interface
> disagree.

Oh I see.
Comment 5 WebKit Commit Bot 2017-05-09 08:04:16 PDT
Comment on attachment 309464 [details]
Patch

Clearing flags on attachment: 309464

Committed r216506: <http://trac.webkit.org/changeset/216506>
Comment 6 WebKit Commit Bot 2017-05-09 08:04:17 PDT
All reviewed patches have been landed.  Closing bug.