diff --git a/layout/reftests/bugs/935056-1-ref.html b/layout/reftests/bugs/935056-1-ref.html deleted file mode 100644 index 94cacf33bfc..00000000000 --- a/layout/reftests/bugs/935056-1-ref.html +++ /dev/null @@ -1,10 +0,0 @@ - - - -
This text should be affected by the minimum font size.
- diff --git a/layout/reftests/bugs/935056-1.html b/layout/reftests/bugs/935056-1.html deleted file mode 100644 index 940624deda6..00000000000 --- a/layout/reftests/bugs/935056-1.html +++ /dev/null @@ -1,9 +0,0 @@ - - - -This text should be affected by the minimum font size.
- diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list index b1a108dcf8b..c3d7a62e454 100644 --- a/layout/reftests/bugs/reftest.list +++ b/layout/reftests/bugs/reftest.list @@ -1780,7 +1780,6 @@ fuzzy(1,10000) fuzzy-if(Android&&AndroidVersion>=15,5,10000) == 902330-1.html 90 fuzzy-if(Android,8,400) == 906199-1.html 906199-1-ref.html == 921716-1.html 921716-1-ref.html fuzzy-if(cocoaWidget,1,40) == 928607-1.html 928607-1-ref.html -test-pref(font.minimum-size.x-western,32) == 935056-1.html 935056-1-ref.html == 936670-1.svg 936670-1-ref.svg == 931853.html 931853-ref.html == 931853-quirks.html 931853-quirks-ref.html diff --git a/layout/style/nsRuleNode.cpp b/layout/style/nsRuleNode.cpp index 9d95887bd0c..9734ab94918 100644 --- a/layout/style/nsRuleNode.cpp +++ b/layout/style/nsRuleNode.cpp @@ -3554,15 +3554,9 @@ nsRuleNode::SetFont(nsPresContext* aPresContext, nsStyleContext* aContext, nscoord fontSize = aFont->mSize; - // Enforce the user's specified minimum font-size on the value that we - // expose (but don't change font-size:0, since that would unhide hidden - // text). - // - // We don't do this for SVG text, which we can tell from the value of - // -x-text-zoom. It's safe to look at mAllowZoom on this style struct - // we're computing, since we know -x-text-zoom is only ever specified - // on an