Bug Tracker

Ticket #15016 (closed bug: fixed)

Opened 4 months ago

Last modified 3 months ago

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:
Blocking: Blocked by:

Change History

comment:1 Changed 4 months ago by m_gol

  • Priority changed from undecided to low
  • Component changed from unfiled to css
  • Milestone changed from None to 1.11.1/2.1.1

comment:2 Changed 3 months ago by dmethvin

  • Status changed from new to 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.

comment:3 Changed 3 months ago by m_gol

We still need to fix our test. 0 is invalid value for widows, the number has to be positive.

comment:4 Changed 3 months ago by m_gol

  • Owner set to m_gol
  • Status changed from open to assigned

comment:5 Changed 3 months ago by Michał Gołębiowski

  • Status changed from assigned to closed
  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.