- From: <bugzilla@jessica.w3.org>
- Date: Mon, 27 Aug 2012 11:04:42 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18704 Summary: [Shadow]: How reset-style-inheritance flag of insertion point works with multiple show roots Product: WebAppsWG Version: unspecified Platform: PC OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Component Model AssignedTo: dglazkov@chromium.org ReportedBy: tasak@google.com QAContact: public-webapps-bugzilla@w3.org Blocks: 14978 If some shadow host has multiple shadow roots and each shadow root has <shadow>, what reset-style-inheritance flag should be applied? For example, - see reset-style-inheritance flag of an insertion point in the oldest shadow root, - see reset-style-inheritance flag of an insertion point in the youngest shadow root, - see whether all insertion points have reset-style-inheritance flag set to be true or not (all reset-style-inheritance flags are true, apply reset-style-inheritance), - see whether more than one of insertion points has reset-style-inheritance flag set to be true or not (i.e. one of reset-style-inheritance flag is true, apply reset-style-inheritance) - or some way. If we have the following html: <div id="host"><span>child-1</span></div> ... var host = document.getElementById('host'); var oldestShadowRoot = new WebKitShadowRoot(host); var olderShadowRoot = new WebKitShadowRoot(host); var youngerShadowRoot = new WebKitShadowRoot(host); var youngestShadowRoot = new WebKitShadowRoot(host); oldestShadowRoot.innerHTML = "<shadow></shadow>"; olderShadowRoot.innerHTML = "<shadow></shadow>"; youngerShadowRoot.innerHTML = "<shadow></shadow>"; youngestShadowRoot.innerHTML = "<shadow></shadow>"; and reset-style-inheritance flags are set in the following way: +-------------------------------------------------+ | oldest | older | younger | youngest | apply reset-style-inheritance? | +-------------------------------------------------+ | true | true | true | true | yes | +-------------------------------------------------+ | true | true | true | false | yes? no? | +-------------------------------------------------+ | true | true | false | true | yes? no? | +-------------------------------------------------+ ... snip ... +-------------------------------------------------+ | false | false | false | false | no | +-------------------------------------------------+ we should apply reset-style-inheritance? or should not apply? Best regards, Takashi Sakamoto -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Monday, 27 August 2012 11:04:46 UTC