⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 102193 in webkit


Ignore:
Timestamp:
Dec 6, 2011, 4:51:19 PM (15 years ago)
Author:
Lucas Forschler
Message:

Merged r95386.

Location:
branches/safari-534.53-branch
Files:
3 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/safari-534.53-branch/LayoutTests/ChangeLog

    r102191 r102193  
     12011-12-06  Lucas Forschler  <lforschler@apple.com>
     2
     3    Merge 95386
     4
     5    2011-09-17  David Hyatt  <hyatt@apple.com>
     6
     7            https://bugs.webkit.org/show_bug.cgi?id=68307
     8
     9            Crash in border image cssText. Make sure to null check all the components, since they're all
     10            optional now.
     11
     12            Reviewed by Sam Weinig.
     13
     14            * fast/borders/border-image-slice-omission.html: Added.
     15
    1162011-12-06  Lucas Forschler  <lforschler@apple.com>
    217
  • branches/safari-534.53-branch/Source/WebCore/ChangeLog

    r102192 r102193  
     12011-12-06  Lucas Forschler  <lforschler@apple.com>
     2
     3    Merge 95386
     4
     5    2011-09-17  David Hyatt  <hyatt@apple.com>
     6
     7            https://bugs.webkit.org/show_bug.cgi?id=68307
     8
     9            Crash in border image cssText. Make sure to null check all the components, since they're all
     10            optional now.
     11
     12            Reviewed by Sam Weinig.
     13
     14            Added fast/borders/border-image-slice-omission.html
     15
     16            * css/CSSBorderImageValue.cpp:
     17            (WebCore::CSSBorderImageValue::cssText):
     18
    1192011-12-06  Lucas Forschler  <lforschler@apple.com>
    220
  • branches/safari-534.53-branch/Source/WebCore/css/CSSBorderImageValue.cpp

    r102054 r102193  
    4444{
    4545    // Image first.
    46     String text(m_image->cssText());
    47     text += " ";
     46    String text;
     47   
     48    if (m_image)
     49        text += m_image->cssText();
    4850
    4951    // Now the slices.
    50     text += m_imageSlice->cssText();
     52    if (m_imageSlice) {
     53        if (!text.isEmpty())
     54            text += " ";
     55        text += m_imageSlice->cssText();
     56    }
    5157
    5258    // Now the border widths.
     
    6369    if (m_repeat) {
    6470        // Now the keywords.
    65         text += " ";
     71        if (!text.isEmpty())
     72            text += " ";
    6673        text += m_repeat->cssText();
    6774    }
Note: See TracChangeset for help on using the changeset viewer.