Side navigation
#15016 closed bug (fixed)
Opened April 15, 2014 10:34AM UTC
Closed April 18, 2014 02:22PM UTC
Chrome 34 returns 'auto' via getComputedStyle when 'widows' property is set to 0
Reported by: | m_gol | Owned by: | m_gol |
---|---|---|---|
Priority: | low | Milestone: | 1.11.1/2.1.1 |
Component: | css | Version: | 2.1.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Reported: https://code.google.com/p/chromium/issues/detail?id=363562
This causes our test suite to fail: http://swarm.jquery.org/result/1764333
Attachments (0)
Change History (5)
Changed April 15, 2014 10:36AM UTC by comment:1
component: | unfiled → css |
---|---|
milestone: | None → 1.11.1/2.1.1 |
priority: | undecided → low |
Changed April 17, 2014 08:42PM UTC by comment:2
status: | new → open |
---|
Let's leave this and see if Chrome will fix the problem. It's relatively minor so as long as we skip the unit tests I doubt it will cause much trouble in the wild.
Changed April 17, 2014 08:47PM UTC by comment:3
We still need to fix our test. 0 is invalid value for widows, the number has to be positive.
Changed April 18, 2014 12:13AM UTC by comment:4
owner: | → m_gol |
---|---|
status: | open → assigned |
Changed April 18, 2014 02:22PM UTC by comment:5
resolution: | → fixed |
---|---|
status: | assigned → closed |
Css: Use only positive integers as values for widows/orphans
According to http://www.w3.org/TR/CSS2/page.html#propdef-orphans, widows
and orphans can take only positive integer values. Together with a Chrome 34
regression this caused the test to fail.
Fixes #15016
Closes gh-1563
Changeset: def4841cfaf68e2ec156c554f8efa4aa64203f36
Test case: http://jsfiddle.net/dJuc4/1/