Changeset 57316 in webkit
- Timestamp:
- Apr 9, 2010 12:59:04 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r57313 r57316 1 2010-04-09 Andras Becsi <abecsi@webkit.org> 2 3 Reviewed by Simon Hausmann. 4 5 [Qt] User agent style sheets are crippled by moc -E in make-css-file-arrays.pl 6 https://bugs.webkit.org/show_bug.cgi?id=37296 7 8 Update expected files after removal of moc preprocessing of default css sheets. 9 These test results now only differ in metrics from Mac ones. 10 11 * platform/qt/editing/execCommand/insert-list-xml-expected.txt: 12 * platform/qt/svg/custom/createImageElement2-expected.txt: 13 * platform/qt/svg/custom/use-on-symbol-inside-pattern-expected.txt: 14 1 15 2010-04-08 Chris Evans <cevans@chromium.org> 2 16 -
trunk/LayoutTests/platform/qt/editing/execCommand/insert-list-xml-expected.txt
r55183 r57316 2 2 <div xmlns="http://www.w3.org/1999/xhtml" contenteditable="true" id="insertlisthere"><ol><li><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">.</span><br /></li></ol></div> 3 3 PASS 4 -
trunk/LayoutTests/platform/qt/svg/custom/createImageElement2-expected.txt
r54484 r57316 1 1 layer at (0,0) size 800x600 2 2 RenderView at (0,0) size 800x600 3 layer at (0,0) size 800x120 4 RenderBlock {html} at (0,0) size 800x120 5 RenderBlock {body} at (8,8) size 784x104 6 RenderSVGRoot {svg} at (8,8) size 600x100 7 RenderSVGImage {image} at (18,18) size 100x60 3 layer at (0,0) size 800x104 4 RenderBlock {html} at (0,0) size 800x104 5 RenderInline {head} at (0,0) size 86x20 8 6 RenderText {#text} at (0,0) size 0x0 7 RenderInline {title} at (0,0) size 82x20 8 RenderText {#text} at (0,84) size 82x20 9 text run at (0,84) width 82: "SVG Image" 10 RenderText {#text} at (82,84) size 4x20 11 text run at (82,84) width 4: " " 12 RenderText {#text} at (0,0) size 0x0 13 RenderInline {body} at (0,0) size 600x20 14 RenderText {#text} at (0,0) size 0x0 15 RenderSVGRoot {svg} at (86,0) size 600x100 16 RenderSVGImage {image} at (96,10) size 100x60 17 RenderText {#text} at (0,0) size 0x0 18 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/qt/svg/custom/use-on-symbol-inside-pattern-expected.txt
r54572 r57316 1 KRenderingPaintServer {id="pat00" [type=PATTERN] [bbox=at ( -10,-15) size 30x45]}2 KRenderingPaintServer {id="pat01" [type=PATTERN] [bbox=at ( -11.38,-16.87) size 30x45]}1 KRenderingPaintServer {id="pat00" [type=PATTERN] [bbox=at (0,0) size 30x45]} 2 KRenderingPaintServer {id="pat01" [type=PATTERN] [bbox=at (0,0) size 30x45]} 3 3 layer at (0,0) size 800x600 4 4 RenderView at (0,0) size 800x600 … … 30 30 RenderSVGContainer {use} at (8,8) size 205x94 31 31 RenderSVGContainer {g} at (8,8) size 205x94 32 RenderPath {path} at (8,8) size 205x94 [stroke={[type=SOLID] [color=#B42D25] [stroke width=2.00]}] [fill={[type=PATTERN] [bbox=at ( -10,-15) size 30x45]}] [data="M0.00,50.00 L100.00,0.00 L200.00,20.00 L150.00,70.00 L50.00,90.00 L0.00,50.00"]32 RenderPath {path} at (8,8) size 205x94 [stroke={[type=SOLID] [color=#B42D25] [stroke width=2.00]}] [fill={[type=PATTERN] [bbox=at (0,0) size 30x45]}] [data="M0.00,50.00 L100.00,0.00 L200.00,20.00 L150.00,70.00 L50.00,90.00 L0.00,50.00"] 33 33 RenderSVGContainer {g} at (8,104) size 205x98 [transform={m=((1.00,0.00)(0.00,1.00)) t=(10.00,110.00)}] 34 34 RenderSVGText {text} at (0,10) size 85x20 contains 1 chunk(s) … … 37 37 RenderSVGContainer {use} at (8,108) size 205x94 38 38 RenderSVGContainer {g} at (8,108) size 205x94 39 RenderPath {path} at (8,108) size 205x94 [stroke={[type=SOLID] [color=#B42D25] [stroke width=2.00]}] [fill={[type=PATTERN] [bbox=at ( -11.38,-16.87) size 30x45]}] [data="M0.00,50.00 L100.00,0.00 L200.00,20.00 L150.00,70.00 L50.00,90.00 L0.00,50.00"]39 RenderPath {path} at (8,108) size 205x94 [stroke={[type=SOLID] [color=#B42D25] [stroke width=2.00]}] [fill={[type=PATTERN] [bbox=at (0,0) size 30x45]}] [data="M0.00,50.00 L100.00,0.00 L200.00,20.00 L150.00,70.00 L50.00,90.00 L0.00,50.00"] -
trunk/WebCore/ChangeLog
r57313 r57316 1 2010-04-09 Andras Becsi <abecsi@webkit.org> 2 3 Reviewed by Simon Hausmann. 4 5 [Qt] User agent style sheets are crippled by moc -E in make-css-file-arrays.pl 6 https://bugs.webkit.org/show_bug.cgi?id=37296 7 8 Do not use moc to preprocess user agent style sheets because it removes at-symbols 9 and hexadecimal colours from declarations. 10 Remove unneeded preprocessor usage from make-css-file-arrays.pl since the script 11 processes default css files using regular expressions therefore preprocessing is redundant. 12 13 * WebCore.pri: remove --preprocessor usage 14 * css/make-css-file-arrays.pl: remove gcc dependency 15 1 16 2010-04-08 Chris Evans <cevans@chromium.org> 2 17 -
trunk/WebCore/WebCore.pri
r56860 r57316 699 699 stylesheets.output = $${WC_GENERATED_SOURCES_DIR}/UserAgentStyleSheetsData.cpp 700 700 stylesheets.input = stylesheets.wkScript 701 stylesheets.commands = perl $$stylesheets.wkScript --preprocessor \"$${QMAKE_MOC} -E\"$${WC_GENERATED_SOURCES_DIR}/UserAgentStyleSheets.h ${QMAKE_FILE_OUT} $$STYLESHEETS_EMBED701 stylesheets.commands = perl $$stylesheets.wkScript $${WC_GENERATED_SOURCES_DIR}/UserAgentStyleSheets.h ${QMAKE_FILE_OUT} $$STYLESHEETS_EMBED 702 702 stylesheets.depends = $$STYLESHEETS_EMBED 703 703 stylesheets.clean = ${QMAKE_FILE_OUT} ${QMAKE_VAR_WC_GENERATED_SOURCES_DIR}/UserAgentStyleSheets.h -
trunk/WebCore/css/make-css-file-arrays.pl
r55240 r57316 24 24 use Getopt::Long; 25 25 26 my $preprocessor;27 28 GetOptions('preprocessor=s' => \$preprocessor);29 30 if (!$preprocessor) {31 require Config;32 my $gccLocation = "";33 if (($Config::Config{'osname'}) =~ /solaris/i) {34 $gccLocation = "/usr/sfw/bin/gcc";35 } else {36 $gccLocation = "/usr/bin/gcc";37 }38 $preprocessor = $gccLocation . " -E -P -x c++";39 }40 41 26 my $header = $ARGV[0]; 42 27 shift; … … 56 41 57 42 # Slurp in the CSS file. 58 open IN, $preprocessor . " " . $in . "|"or die;43 open IN, "<", $in or die; 59 44 my $text; { local $/; $text = <IN>; } 60 45 close IN;
Note: See TracChangeset
for help on using the changeset viewer.