[Webkit-unassigned] [Bug 137567] New: Computed style for clip is wrong with respect to auto
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 9 13:26:54 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=137567
Summary: Computed style for clip is wrong with respect to auto
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rmondello at apple.com
CC: dino at apple.com
For the following markup:
<div id="test" style="width: 300px; height: 300px; background-color: green; clip: rect(auto, auto, auto, auto);">
The following script:
var testRect = document.getElementById("test");
var clipStyle = getComputedStyle(testRect).clip;
console.log(clipStyle);
Logs:
rect(0px, 0px, 0px, 0px)
It should log:
rect(auto, auto, auto, auto)
I've attached a test page.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list