aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/parser/tests/test_optional_constraints.py
diff options
context:
space:
mode:
authorBoris Chiou <boris.chiou@gmail.com>2017-06-08 18:21:40 +0800
committerBoris Chiou <boris.chiou@gmail.com>2017-06-09 00:35:43 +0800
commite517d21de85697532dbb0b6da7484f723ff73559 (patch)
treea5e771f57373f196226117e66f2b8bf04f5a860c /components/script/dom/bindings/codegen/parser/tests/test_optional_constraints.py
parent4e78755303836beede24f475b31620e7ae6aa079 (diff)
downloadservo-e517d21de85697532dbb0b6da7484f723ff73559.tar.gz
servo-e517d21de85697532dbb0b6da7484f723ff73559.zip
Set zero to mImageRegion.{height,width} if {bottom,right} is auto.
Let's follow how Gecko does for this part (in nsRuleNode::ComputeListData). We set mImageRegion.height or mImageRegion.width to zero if bottom or right is None (i.e. auto).
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/tests/test_optional_constraints.py')
0 files changed, 0 insertions, 0 deletions