Bug 138584
Summary: | getComputedStyle() does not throw if you pass it a text node | ||
---|---|---|---|
Product: | WebKit | Reporter: | Hallvord R. M. Steen <hsteen> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | bfulgham, karl+webkit |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Hallvord R. M. Steen
See test case here:
http://hallvord.com/temp/moz/bug/wc412.htm
Also attached. Firefox gets it right (per spec AFAIK), WebKit/Blink doesn't.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
karl
This was fixed in Chromium
https://bugs.chromium.org/p/chromium/issues/detail?id=431915
Edge, Chrome and Firefox behaves now the same.
Only WebKit is not behaving like the other browsers.
Brent Fulgham
WebKit now handles this properly, too.