Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not leave space below baseline when it is not needed (i.e.there is… #19789

Merged
merged 1 commit into from
Jan 22, 2018

Conversation

ferjm
Copy link
Contributor

@ferjm ferjm commented Jan 17, 2018

… no text)

This is my first layout fix and a naive approach to fix #18831.


This change is Reviewable

@ferjm
Copy link
Contributor Author

ferjm commented Jan 17, 2018

r? @mbrubeck

@ferjm
Copy link
Contributor Author

ferjm commented Jan 17, 2018

@bors-servo try

@bors-servo
Copy link
Contributor

⌛ Trying commit eb92be8 with merge 34182e2...

bors-servo pushed a commit that referenced this pull request Jan 17, 2018
Do not leave space below baseline when it is not needed (i.e.there is…

… no text)

This is my first layout fix and a naive approach to fix #18831.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #18831

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

💔 Test failed - linux-rel-wpt

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Jan 17, 2018
@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 Jan 17, 2018
@ferjm
Copy link
Contributor Author

ferjm commented Jan 17, 2018

@bors-servo try

@bors-servo
Copy link
Contributor

⌛ Trying commit 2309d99 with merge efbf6ef...

bors-servo pushed a commit that referenced this pull request Jan 17, 2018
Do not leave space below baseline when it is not needed (i.e.there is…

… no text)

This is my first layout fix and a naive approach to fix #18831.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #18831

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

💔 Test failed - linux-rel-wpt

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Jan 17, 2018
@highfive highfive removed the S-tests-failed The changes caused existing tests to fail. label Jan 17, 2018
@ferjm
Copy link
Contributor Author

ferjm commented Jan 17, 2018

@bors-servo try

@bors-servo
Copy link
Contributor

⌛ Trying commit 3df5533 with merge 8b25e42...

bors-servo pushed a commit that referenced this pull request Jan 17, 2018
Do not leave space below baseline when it is not needed (i.e.there is…

… no text)

This is my first layout fix and a naive approach to fix #18831.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #18831

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

💔 Test failed - linux-rel-css

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Jan 17, 2018
@tigercosmos
Copy link
Contributor

{"status": "PASS", "group": "default", "message": null, "stack": null, "subtest": null, "test": "/css/CSS2/lists/list-style-type-applies-to-012.xht", "line": 10508, "action": "test_result", "expected": "FAIL"}
{"status": "PASS", "group": "default", "message": null, "stack": null, "subtest": null, "test": "/css/CSS2/lists/list-style-applies-to-012.xht", "line": 13721, "action": "test_result", "expected": "FAIL"}
{"status": "FAIL", "group": "default", "message": "/css/css-flexbox/flexbox_inline.html b67f1e6f6b6c3832ad0fbfd3ae2560354ecaf46b\n/css/css-flexbox/flexbox_inline-ref.html 37bdb4e7e846e523fecba0231ebac2333842ca72\nTesting b67f1e6f6b6c3832ad0fbfd3ae2560354ecaf46b == 37bdb4e7e846e523fecba0231ebac2333842ca72", "stack": null, "subtest": null, "test": "/css/css-flexbox/flexbox_inline.html", "line": 19898, "action": "test_result", "expected": "PASS"}

Copy link
Contributor

@mbrubeck mbrubeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, but I'm curious about the failing test. If it's something that was passing "by accident" (i.e. it is failing for an unrelated reason), feel free to update test expectations and land with r=mbrubeck, and file a follow-up issue if necessary.

@mbrubeck mbrubeck removed the S-awaiting-review There is new code that needs to be reviewed. label Jan 18, 2018
@mbrubeck
Copy link
Contributor

The failing test involves an inline-flex box that contains text content that generates an anonymous box. It seems like the text within the inline-flex box should have its line metrics calculated separately from the text in its container, but it isn't for some reason.

I'd prefer to file a separate issue for this, and land the current patch as-is.

@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 Jan 19, 2018
@ferjm
Copy link
Contributor Author

ferjm commented Jan 19, 2018

@bors-servo try

@highfive highfive removed the S-tests-failed The changes caused existing tests to fail. label Jan 22, 2018
@ferjm
Copy link
Contributor Author

ferjm commented Jan 22, 2018

@bors-servo try

@bors-servo
Copy link
Contributor

⌛ Trying commit a241bed with merge b65dbb4...

bors-servo pushed a commit that referenced this pull request Jan 22, 2018
Do not leave space below baseline when it is not needed (i.e.there is…

… no text)

This is my first layout fix and a naive approach to fix #18831.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #18831

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

@emilio
Copy link
Member

emilio commented Jan 22, 2018

@bors-servo r=mbrubeck delegate+

@bors-servo
Copy link
Contributor

📌 Commit a241bed 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 Jan 22, 2018
@bors-servo
Copy link
Contributor

⌛ Testing commit a241bed with merge 90f46c0...

bors-servo pushed a commit that referenced this pull request Jan 22, 2018
Do not leave space below baseline when it is not needed (i.e.there is…

… no text)

This is my first layout fix and a naive approach to fix #18831.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #18831

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

✌️ @ferjm can now approve this pull request

@bors-servo
Copy link
Contributor

💡 This pull request was already approved, no need to approve it again.

  • This pull request is currently being tested. If there's no response from the continuous integration service, you may use retry to trigger a build again.

@bors-servo
Copy link
Contributor

📌 Commit a241bed has been approved by mbrubeck

@bors-servo
Copy link
Contributor

⌛ Testing commit a241bed with merge 580f0d7...

bors-servo pushed a commit that referenced this pull request Jan 22, 2018
Do not leave space below baseline when it is not needed (i.e.there is…

… no text)

This is my first layout fix and a naive approach to fix #18831.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #18831

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

💔 Test failed - linux-rel-wpt

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jan 22, 2018
@ferjm
Copy link
Contributor Author

ferjm commented Jan 22, 2018

@bors-servo retry

@bors-servo
Copy link
Contributor

⌛ Testing commit a241bed with merge ec8975b...

bors-servo pushed a commit that referenced this pull request Jan 22, 2018
Do not leave space below baseline when it is not needed (i.e.there is…

… no text)

This is my first layout fix and a naive approach to fix #18831.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #18831

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19789)
<!-- Reviewable:end -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Jan 22, 2018
@bors-servo
Copy link
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev
Approved by: mbrubeck
Pushing ec8975b to master...

@bors-servo bors-servo merged commit a241bed into servo:master Jan 22, 2018
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jan 22, 2018
@ferjm ferjm deleted the issue-18831-fb-layout branch February 14, 2018 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Facebook homepage sign up inputs have extra padding
7 participants