| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 for (unsigned i = 0; i < m_style->length(); ++i) { | 740 for (unsigned i = 0; i < m_style->length(); ++i) { |
| 741 String individualProperty = m_style->item(i); | 741 String individualProperty = m_style->item(i); |
| 742 if (m_style->getPropertyShorthand(individualProperty) != shorthandPr
operty) | 742 if (m_style->getPropertyShorthand(individualProperty) != shorthandPr
operty) |
| 743 continue; | 743 continue; |
| 744 if (m_style->isPropertyImplicit(individualProperty)) | 744 if (m_style->isPropertyImplicit(individualProperty)) |
| 745 continue; | 745 continue; |
| 746 String individualValue = m_style->getPropertyValue(individualPropert
y); | 746 String individualValue = m_style->getPropertyValue(individualPropert
y); |
| 747 if (individualValue == "initial") | 747 if (individualValue == "initial") |
| 748 continue; | 748 continue; |
| 749 if (!builder.isEmpty()) | 749 if (!builder.isEmpty()) |
| 750 builder.append(" "); | 750 builder.append(' '); |
| 751 builder.append(individualValue); | 751 builder.append(individualValue); |
| 752 } | 752 } |
| 753 | 753 |
| 754 return builder.toString(); | 754 return builder.toString(); |
| 755 } | 755 } |
| 756 return value; | 756 return value; |
| 757 } | 757 } |
| 758 | 758 |
| 759 NewLineAndWhitespace& InspectorStyle::newLineAndWhitespaceDelimiters() const | 759 NewLineAndWhitespace& InspectorStyle::newLineAndWhitespaceDelimiters() const |
| 760 { | 760 { |
| (...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1816 void InspectorStyleSheetForInlineStyle::trace(Visitor* visitor) | 1816 void InspectorStyleSheetForInlineStyle::trace(Visitor* visitor) |
| 1817 { | 1817 { |
| 1818 visitor->trace(m_element); | 1818 visitor->trace(m_element); |
| 1819 visitor->trace(m_ruleSourceData); | 1819 visitor->trace(m_ruleSourceData); |
| 1820 visitor->trace(m_inspectorStyle); | 1820 visitor->trace(m_inspectorStyle); |
| 1821 InspectorStyleSheetBase::trace(visitor); | 1821 InspectorStyleSheetBase::trace(visitor); |
| 1822 } | 1822 } |
| 1823 | 1823 |
| 1824 } // namespace blink | 1824 } // namespace blink |
| 1825 | 1825 |
| OLD | NEW |