angler-fishThe Vulnerability History Project

LayoutTests:

      Test by Andrew Wellington <proton@wiretapped.net>.
        Reviewed by Darin.
        
        - test for fix to http://bugs.webkit.org/show_bug.cgi?id=11197
          REGRESSION: Specifying a counter for a CODE tag's content style
          property on before or after causes a crash.

        * fast/css/beforeSelectorOnCodeElement-expected.checksum: Added.
        * fast/css/beforeSelectorOnCodeElement-expected.png: Added.
        * fast/css/beforeSelectorOnCodeElement-expected.txt: Added.
        * fast/css/beforeSelectorOnCodeElement.html: Added.

        Test by Mitz.
        Reviewed by Darin.

        - test for monospace problem mentioned in the above bug
        
        * fast/text/monospace-width-cache-expected.checksum: Added.
        * fast/text/monospace-width-cache-expected.png: Added.
        * fast/text/monospace-width-cache-expected.txt: Added.
        * fast/text/monospace-width-cache.html: Added.

WebCore:

        Reviewed by Mitz.

        Inspired by a much simpler patch by Andrew Wellington <proton@wiretapped.net>.

        - fix http://bugs.webkit.org/show_bug.cgi?id=11197
          REGRESSION: Specifying a counter for a CODE tag's content style property
          on before or after causes a crash.

        Test: fast/css/beforeSelectorOnCodeElement.html

        - fix regression I recently introduced where the monospace cache could be
          used for text that was not ASCII, if text was changed after the style was set

        Test: fast/text/monospace-width-cache.html

        - streamline RenderText.h -- remove unneeded functions, make some needlessly
          virtual functions non-virtual, remove unneeded header includes, replace use
          of Font* with Font& for consistency with RenderStyle, use &quottext&quot consistently
          instead of &quotstring&quot

        * rendering/RenderText.h: Removed unneeded include of &quotText.h&quot, declarations of
        SOFT_HYPHEN, DocumentMarker, InlineBox, Positi
    
commit 2203391429cd40f45325c1d275209c84b5c0dc57
-24
-1
-25
-18
-1
-26
-10
-154
-1
-1
-1
-1
+3 -3
+4 -4
-1
+6 -6
-1
+6 -7
+18 -18
+1 -1
+4 -3
+1 -1
+2 -2
+1 -1
+1 -1
+3 -3
+2
+127 -111
+46 -29
+2 -5
+1 -1
+1 -1
+5 -5
+30 -31
expand_less