Hi Team, While going through failing WPT test, came across following two failing where we don't have initial value for 'orphans' and 'windows' and return 'auto' instead of '2' as per spec. Failing WPT Test: https://wpt.fyi/results/css/css-break/inheritance.html?label=master&label=experimental&aligned=&q=inheritance sub-test names: Property orphans has initial value 2 & Property widows has initial value 2 Web-Spec: https://drafts.csswg.org/css-break/#property-index I tried to look into CSSProperties.json whether we have way to do 'initial value' similar to Chromium bug couldn't figure out. Just wanted to raise so we can fix it. Thanks!
removing all code related to `hasAutoOrphans` and `hasAutoWidows` should just work: https://searchfox.org/wubkat/search?q=hasAutoOrphans&path=&case=false®exp=false https://searchfox.org/wubkat/search?q=hasAutoWidows&path=&case=false®exp=false (although some of these checks will need to be replaced with `style().orphans() == RenderStyle::initialOrphans()` or something similar)
<rdar://problem/114350539>
Test Changes (if we started doing it in future) - https://github.com/chromium/chromium/commit/b25fd3116d7cb9366a24af711666fc63a27f91b4
*** This bug has been marked as a duplicate of bug 277559 ***