[Bug 22826] [Shadow]: Clarify how getComputedStyle with unprojected elements works

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22826

--- Comment #1 from Takashi Sakamoto <tasak@google.com> ---
Talking about current Blink, when running the testcase with followings:

console.log(getComputedStyle(div#testCase));
console.log(getComputedStyle(div#testCase).display);
console.log(getComputedStyle(div#testCase).backgroundColor);

(a) Before removing <content>:

CONSOLE MESSAGE: line 23: [object CSSStyleDeclaration]
CONSOLE MESSAGE: line 24: block
CONSOLE MESSAGE: line 25: rgba(0, 0, 0, 0)


(b) After removing <content>:

CONSOLE MESSAGE: line 32: [object CSSStyleDeclaration]
CONSOLE MESSAGE: line 33:
CONSOLE MESSAGE: line 34:

---

So unprojected elements have empty styles? Or unprojected elements have some
styles with display: none?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 29 July 2013 02:14:20 UTC