Changeset 87617 in webkit
- Timestamp:
- May 28, 2011 10:55:16 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r87611 r87617 1 2011-05-28 Tonis Tiigi <tonistiigi@gmail.com> 2 3 Reviewed by Pavel Feldman. 4 5 Web Inspector: there is a problem with computed style properties with wrong values 6 https://bugs.webkit.org/show_bug.cgi?id=60535 7 8 Adding cases that test invalid properties. 9 10 * inspector/styles/styles-computed-trace-expected.txt: 11 * inspector/styles/styles-computed-trace.html: 12 1 13 2011-05-28 Robert Hogan <robert@webkit.org> 2 14 -
trunk/LayoutTests/inspector/styles/styles-computed-trace-expected.txt
r78535 r87617 4 4 [expanded] () 5 5 background-attachment: scroll; 6 #id1 - initial styles-computed-trace.html: 196 #id1 - initial styles-computed-trace.html:23 7 7 background-clip: border-box; 8 #id1 - initial styles-computed-trace.html: 198 #id1 - initial styles-computed-trace.html:23 9 9 background-color: gray; 10 #id1 - gray styles-computed-trace.html: 1911 /-- overloaded --/ #id1 - black styles-computed-trace.html:1 412 /-- overloaded --/ #id1 - green styles-computed-trace.html: 910 #id1 - gray styles-computed-trace.html:23 11 /-- overloaded --/ #id1 - black styles-computed-trace.html:18 12 /-- overloaded --/ #id1 - green styles-computed-trace.html:13 13 13 background-image: none; 14 #id1 - initial styles-computed-trace.html: 1914 #id1 - initial styles-computed-trace.html:23 15 15 background-origin: padding-box; 16 #id1 - initial styles-computed-trace.html: 1916 #id1 - initial styles-computed-trace.html:23 17 17 display: block; 18 18 div - block user agent stylesheet 19 19 font-family: Courier; 20 #id1 - Courier styles-computed-trace.html:1 421 /-- overloaded --/ #id1 - Times styles-computed-trace.html: 920 #id1 - Courier styles-computed-trace.html:18 21 /-- overloaded --/ #id1 - Times styles-computed-trace.html:13 22 22 /-- overloaded --/ body - Arial styles-computed-trace.html:4 23 text-decoration: underline; 24 div - underline styles-computed-trace.html:9 23 25 24 26 [expanded] element.style { () … … 28 30 [expanded] () 29 31 background-color: blue; 30 #id2 - blue styles-computed-trace.html:2 332 #id2 - blue styles-computed-trace.html:27 31 33 display: block; 32 34 div - block user agent stylesheet 33 35 font-family: Courier; 34 #id2 - Courier styles-computed-trace.html:2 335 /-- overloaded --/ #id1 - Courier styles-computed-trace.html:1 436 /-- overloaded --/ #id1 - Times styles-computed-trace.html: 936 #id2 - Courier styles-computed-trace.html:27 37 /-- overloaded --/ #id1 - Courier styles-computed-trace.html:18 38 /-- overloaded --/ #id1 - Times styles-computed-trace.html:13 37 39 /-- overloaded --/ body - Arial styles-computed-trace.html:4 40 text-decoration: underline; 41 /-- overloaded --/ #id2 - invalidvalue styles-computed-trace.html:27 42 div - underline styles-computed-trace.html:9 38 43 39 44 [expanded] element.style { () -
trunk/LayoutTests/inspector/styles/styles-computed-trace.html
r78535 r87617 5 5 background-color: rgb(100, 0, 0); 6 6 font-family: Arial; 7 } 8 9 div { 10 text-decoration: underline; 7 11 } 8 12 … … 24 28 background-color: blue; 25 29 font-family: Courier; 30 text-decoration: invalidvalue; 26 31 } 27 32 -
trunk/Source/WebCore/ChangeLog
r87616 r87617 1 2011-05-28 Tonis Tiigi <tonistiigi@gmail.com> 2 3 Reviewed by Pavel Feldman. 4 5 Web Inspector: there is a problem with computed style properties with wrong values 6 https://bugs.webkit.org/show_bug.cgi?id=60535 7 8 * inspector/front-end/StylesSidebarPane.js: 9 (WebInspector.StylesSidebarPane.prototype._markUsedProperties): 10 (WebInspector.ComputedStylePropertiesSection.prototype.rebuildComputedTrace): 11 1 12 2011-05-26 Antonio Gomes <agomes@rim.com> 2 13 -
trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js
r86774 r87617 397 397 for (var j = 0; j < allProperties.length; ++j) { 398 398 var property = allProperties[j]; 399 if (!property.isLive )399 if (!property.isLive || !property.parsedOk) 400 400 continue; 401 401 var name = property.name; … … 1130 1130 if (section.isPropertyOverloaded(property.name)) 1131 1131 childElement.listItemElement.addStyleClass("overloaded"); 1132 if (!property.parsedOk) 1133 childElement.listItemElement.addStyleClass("not-parsed-ok"); 1132 1134 } 1133 1135 }
Note: See TracChangeset
for help on using the changeset viewer.