Skip to content

Do not put any descenders in unless there's actually text. - #11275

Closed
notriddle wants to merge 1 commit into
servo:masterfrom
notriddle:canvas_no_descender
Closed

notriddle wants to merge 1 commit into
servo:masterfrom
notriddle:canvas_no_descender

Conversation

@notriddle

@notriddle notriddle commented May 19, 2016 •

Copy link
Copy Markdown
Contributor

This change is Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label May 19, 2016
@metajack

Copy link
Copy Markdown
Collaborator

r? @mbrubeck

@highfive highfive assigned mbrubeck and unassigned larsbergstrom May 19, 2016
@mbrubeck

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit ca93ef2 has been approved by mbrubeck

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels May 20, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit ca93ef2 with merge f319391...

bors-servo pushed a commit that referenced this pull request May 20, 2016
Do not put any descenders in unless there's actually text.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy --faster` does not report any errors
- [X] These changes fix #10726 (github issue number if applicable).
- [X] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11275)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt

@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 20, 2016
@highfive

Copy link
Copy Markdown
  ▶ FAIL [expected PASS] /_mozilla/css/acid2_noscroll.html
  └   → /_mozilla/css/acid2_noscroll.html 3ccb1c99fadd56c542522ea4c6a10e331773e54b
/_mozilla/css/acid2_ref_</span><span class="stdout">broken.html cdca6159a4202770349afe232b212fc4260716cb
Testing 3ccb1c99fadd56c542522ea4c6a10e331773e54b == cdca6159a4202770349afe232b212fc4260716cb

  ▶ FAIL [expected PASS] /_mozilla/css/minimum_line_height_a.html
  └   → /_mozilla/css/minimum_line_height_a.html 6b53a89444e688994071710f88e25da2fecfb1cf
/_mozilla/css/minimum_line_height_b.html ee5af48d30f7e7fb9aaa8cfeb84ca43493608b33
Testing 6b53a89444e688994071710f88e25da2fecfb1cf == ee5af48d30f7e7fb9aaa8cfeb84ca43493608b33

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label May 20, 2016
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Jun 2, 2016
@highfive

highfive commented Jun 2, 2016

Copy link
Copy Markdown

New code was committed to pull request.

@notriddle

Copy link
Copy Markdown
Contributor Author

@bors-servo try

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 8fcc567 with merge 85232a6...

bors-servo pushed a commit that referenced this pull request Jun 2, 2016
Do not put any descenders in unless there's actually text.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy --faster` does not report any errors
- [X] These changes fix #10726 (github issue number if applicable).
- [X] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11275)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Jun 2, 2016
@highfive

highfive commented Jun 2, 2016

Copy link
Copy Markdown
  ▶ FAIL [expected PASS] /_mozilla/css/acid2_noscroll.html
  └   → /_mozilla/css/acid2_noscroll.html dcd5fc0e2ddc7ae84e5e1d2ea04fad4d237fbaef
/_mozilla/css/acid2_ref_broken.html 8176a65d482b7a25f125b70ec453417e358a5687
Testing dcd5fc0e2ddc7ae84e5e1d2ea04fad4d237fbaef == 8176a65d482b7a25f125b70ec453417e358a5687

  ▶ FAIL [expected PASS] /_mozilla/css/input_insertion_point_empty_a.html
  └   → /_mozilla/css/input_insertion_point_empty_a.html 04ce739b80161516fee6239c64971aafc74461fa
/_mozilla/css/input_insertion_point_empty_ref.html 04ce739b80161516fee6239c64971aafc74461fa
Testing 04ce739b80161516fee6239c64971aafc74461fa != 04ce739b80161516fee6239c64971aafc74461fa

  ▶ FAIL [expected PASS] /_mozilla/css/input_whitespace.html
  └   → /_mozilla/css/input_whitespace.html 47b6c58593322c705f89b4216f1a000543e7cef9
/_mozilla/css/input_whitespace_ref.html d7a6f62e33592a406285a5a6ca7feb386368bcbe
Testing 47b6c58593322c705f89b4216f1a000543e7cef9 == d7a6f62e33592a406285a5a6ca7feb386368bcbe

  ▶ FAIL [expected PASS] /_mozilla/css/minimum_line_height_a.html
  └   → /_mozilla/css/minimum_line_height_a.html 65eaff76c6fee32374fdfd0f0babfc47f5732153
/_mozilla/css/minimum_line_height_b.html ccf2370ccd0b23bb1ba37273f43ad38d4ed3306d
Testing 65eaff76c6fee32374fdfd0f0babfc47f5732153 == ccf2370ccd0b23bb1ba37273f43ad38d4ed3306d

@highfive

highfive commented Jun 2, 2016

Copy link
Copy Markdown

New code was committed to pull request.

@highfive highfive removed the S-tests-failed The changes caused existing tests to fail. label Jun 2, 2016
@notriddle

Copy link
Copy Markdown
Contributor Author

@bors-servo try

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 5ea9a7c with merge 4bfb5be...

bors-servo pushed a commit that referenced this pull request Jun 2, 2016
Do not put any descenders in unless there's actually text.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy --faster` does not report any errors
- [X] These changes fix #10726 (github issue number if applicable).
- [X] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11275)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-css

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Jun 2, 2016
@highfive

highfive commented Jun 2, 2016

Copy link
Copy Markdown
  ▶ FAIL [expected PASS] /css21_dev/html4/c5502-imrgn-r-005.htm
  └   → /css21_dev/html4/c5502-imrgn-r-005.htm 71fe7ceeffc45f8010022e524f3bffa4428de308
/css21_dev/html4/reference/c5502-imrgn-r-005-ref.htm 999745c91d300000d51517bcfc856f8f110c5e8a
Testing 71fe7ceeffc45f8010022e524f3bffa4428de308 == 999745c91d300000d51517bcfc856f8f110c5e8a

  ▶ FAIL [expected PASS] /css21_dev/html4/c5502-imrgn-r-006.htm
  └   → /css21_dev/html4/c5502-imrgn-r-006.htm 2e8491fda185fbe799ae1c3b78283ca56de5f16e
/css21_dev/html4/reference/c5502-imrgn-r-006-ref.htm cb7e3c4fbcdd937395908be3d917895b00d0799a
Testing 2e8491fda185fbe799ae1c3b78283ca56de5f16e == cb7e3c4fbcdd937395908be3d917895b00d0799a

  ▶ FAIL [expected PASS] /css21_dev/html4/c5504-imrgn-l-005.htm
  └   → /css21_dev/html4/c5504-imrgn-l-005.htm d96fbbf4ac0ac9116c670cacfb91e684985fd2c9
/css21_dev/html4/reference/c5504-imrgn-l-005-ref.htm d15ac1b1fcf6d85e5e156afe43789bd60cc767e5
Testing d96fbbf4ac0ac9116c670cacfb91e684985fd2c9 == d15ac1b1fcf6d85e5e156afe43789bd60cc767e5

  ▶ FAIL [expected PASS] /css21_dev/html4/c5504-imrgn-l-006.htm
  └   → /css21_dev/html4/c5504-imrgn-l-006.htm 53a5bd4ffee2b56490653c942ee70f39c6d29142
/css21_dev/html4/reference/c5504-imrgn-l-006-ref.htm 2e35fbaaca12235a8a2abcbaf4</span><span class="stdout">7065026e1316f9
Testing 53a5bd4ffee2b56490653c942ee70f39c6d29142 == 2e35fbaaca12235a8a2abcbaf47065026e1316f9

  ▶ FAIL [expected PASS] /css21_dev/html4/c5505-imrgn-000.htm
  └   → /css21_dev/html4/c5505-imrgn-000.htm 4c0d3e08ce24486b7e84f272492462fce0d5af8c
/css21_dev/html4/reference/c5505-imrgn-000-ref.htm 38f2519c8bdda7744427c193af1d9b158a9040de
Testing 4c0d3e08ce24486b7e84f272492462fce0d5af8c == 38f2519c8bdda7744427c193af1d9b158a9040de

  ▶ FAIL [expected PASS] /css21_dev/html4/c5507-ipadn-r-004.htm
  └   → /css21_dev/html4/c5507-ipadn-r-004.htm 0eeb40b3cfadad58f9a9f5aa1da80f028d874565
/css21_dev/html4/reference/c5507-ipadn-r-004-ref.htm 7ece510d0e7490cbb438f1894c39de63baeaa634
Testing 0eeb40b3cfadad58f9a9f5aa1da80f028d874565 == 7ece510d0e7490cbb438f1894c39de63baeaa634

  ▶ FAIL [expected PASS] /css21_dev/html4/c5509-ipadn-l-004.htm
  └   → /css21_dev/html4/c5509-ipadn-l-004.htm 765e11f0344dcc27d2ca92e943cbed37773a03a2
/css21_dev/html4/reference/c5509-ipadn-l-004-ref.htm 3174b7e2f84c3d2ae9a0ab3a740354e4635e2010
Testing 765e11f0344dcc27d2ca92e943cbed37773a03a2 == 3174b7e2f84c3d2ae9a0ab3a740354e4635e2010

  ▶ FAIL [expected PASS] /css21_dev/html4/c5525-fltwidth-003.htm
  └   → /css21_dev/html4/c5525-fltwidth-003.htm 5ecb9f81c9535d65ce8476e7651974b478de0cc3
/css21_dev/html4/reference/c5525-fltwidth-003-ref.htm d04b8d070af9663e080192dbd1fd757882f48b8d
Testing 5ecb9f81c9535d65ce8476e7651974b478de0cc3 == d04b8d070af9663e080192dbd1fd757882f48b8d

  ▶ PASS [expected FAIL] /css21_dev/html4/font-variant-applies-to-005.htm

  ▶ FAIL [expected PASS] /css21_dev/html4/inline-replaced-width-001.htm
  └   → /css21_dev/html4/inline-replaced-width-001.htm a0182170aef11f24f118a5ae1a862b2db6958c58
/css21_dev/html4/reference/inline-replaced-width-001-ref.htm bc0634daa15be847f8ce4d766f51bdbc25da35e9
Testing a0182170aef11f24f118a5ae1a862b2db6958c58 == bc0634daa15be847f8ce4d766f51bdbc25da35e9

  ▶ FAIL [expected PASS] /css21_dev/html4/inline-replaced-width-006.htm
  └   → /css21_dev/html4/inline-replaced-width-006.htm a0182170aef11f24f118a5ae1a862b2db6958c58
/css21_dev/html4/reference/inline-replaced-width-001-ref.htm bc0634daa15be847f8ce4d766f51bdbc25da35e9
Testing a0182170aef11f24f118a5ae1a862b2db6958c58 == bc0634daa15be847f8ce4d766f51bdbc25da35e9

  ▶ FAIL [expected PASS] /css21_dev/html4/inlines-013.htm
  └   → /css21_dev/html4/inlines-013.htm 05af3944f092c7d68be24f42e3778f6abdea8508
/css21_dev/html4/reference/inlines-013-ref.htm ee8990341ef230fe3a7e13675eb174ff00c32d24
Testing 05af3944f092c7d68be24f42e3778f6abdea8508 == ee8990341ef230fe3a7e13675eb174ff00c32d24

  ▶ FAIL [expected PASS] /css21_dev/html4/line-height-127.htm
  └   → /css21_dev/html4/line-height-127.htm f69ce9f4faa1d0d162e79289fb7cf15167046747
/css21_dev/html4/reference/line-height-127-ref.htm bcad0917a4efb3bf66cbf1f078a5601e010deef3
Testing f69ce9f4faa1d0d162e79289fb7cf15167046747 == bcad0917a4efb3bf66cbf1f078a5601e010deef3

  ▶ PASS [expected FAIL] /css21_dev/html4/list-style-applies-to-012.htm

  ▶ PASS [expected FAIL] /css21_dev/html4/list-style-type-applies-to-012.htm

  ▶ FAIL [expected PASS] /css21_dev/html4/margin-percentage-inherit-001.htm
  └   → /css21_dev/html4/margin-percentage-inherit-001.htm 68a73d58244aa6e75100959cb4bd24c4413f9093
/css21_dev/html4/reference/margin-percentage-inherit-001-ref.htm 87cd55fdb0a5c008b3e533c779b9d41b073d487e
Testing 68a73d58244aa6e75100959cb4bd24c4413f9093 == 87cd55fdb0a5c008b3e533c779b9d41b073d487e

@notriddle notriddle closed this Jun 3, 2016
@notriddle
notriddle deleted the canvas_no_descender branch June 3, 2016 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed. S-tests-failed The changes caused existing tests to fail.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Canvases elements have extraneous padding

6 participants