Bug 82430

Summary: Write a test for <base> and <link> are inert in ShadowDOM.
Product: WebKit Reporter: Shinya Kawanaka <shinyak>
Component: DOMAssignee: Shinya Kawanaka <shinyak>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, dominicc, hayato, morrita, rolandsteiner
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Description Shinya Kawanaka 2012-03-28 00:10:27 PDT
I think <base> and <link> work as expected, but it's good to have test to confirm it.

Spec is here.
https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#inert-html-elements
Comment 1 Shinya Kawanaka 2012-03-28 01:46:53 PDT
Created attachment 134237 [details]
Patch
Comment 2 Dimitri Glazkov (Google) 2012-03-28 09:19:13 PDT
Comment on attachment 134237 [details]
Patch

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

> LayoutTests/ChangeLog:9
> +        This test checks adding <base> or <link> in shadow root will not affect the
> +        elements outside the shadow tree.

Outside _and_ inside?
Comment 3 Shinya Kawanaka 2012-03-29 04:26:23 PDT
Created attachment 134545 [details]
Patch for landing
Comment 4 Shinya Kawanaka 2012-03-29 04:47:31 PDT
Committed r112518: <http://trac.webkit.org/changeset/112518>