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
Member

ferjm commented Jan 17, 2018

… no text)

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

  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #18831

This change is Reviewable

@ferjm
Copy link
Member Author

ferjm commented Jan 17, 2018

@ferjm
Copy link
Member Author

ferjm commented Jan 17, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Jan 17, 2018

Trying commit eb92be8 with merge 34182e2...

bors-servo added 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

bors-servo commented Jan 17, 2018

💔 Test failed - linux-rel-wpt

@ferjm ferjm force-pushed the ferjm:issue-18831-fb-layout branch from eb92be8 to 2309d99 Jan 17, 2018
@ferjm
Copy link
Member Author

ferjm commented Jan 17, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Jan 17, 2018

Trying commit 2309d99 with merge efbf6ef...

bors-servo added 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

bors-servo commented Jan 17, 2018

💔 Test failed - linux-rel-wpt

@ferjm ferjm force-pushed the ferjm:issue-18831-fb-layout branch from 2309d99 to 3df5533 Jan 17, 2018
@ferjm
Copy link
Member Author

ferjm commented Jan 17, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Jan 17, 2018

Trying commit 3df5533 with merge 8b25e42...

bors-servo added 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

bors-servo commented Jan 17, 2018

💔 Test failed - linux-rel-css

@tigercosmos
Copy link
Collaborator

tigercosmos commented Jan 17, 2018

{"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 left a comment

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
Copy link
Contributor

mbrubeck commented Jan 18, 2018

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.

@ferjm ferjm force-pushed the ferjm:issue-18831-fb-layout branch from 3df5533 to 1b8e9df Jan 19, 2018
@ferjm
Copy link
Member Author

ferjm commented Jan 19, 2018

@ferjm
Copy link
Member Author

ferjm commented Jan 22, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Jan 22, 2018

Trying commit a241bed with merge b65dbb4...

bors-servo added 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

bors-servo commented Jan 22, 2018

@emilio
Copy link
Member

emilio commented Jan 22, 2018

@bors-servo r=mbrubeck delegate+

@bors-servo
Copy link
Contributor

bors-servo commented Jan 22, 2018

📌 Commit a241bed has been approved by mbrubeck

@bors-servo
Copy link
Contributor

bors-servo commented Jan 22, 2018

Testing commit a241bed with merge 90f46c0...

bors-servo added 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

bors-servo commented Jan 22, 2018

✌️ @ferjm can now approve this pull request

@bors-servo
Copy link
Contributor

bors-servo commented Jan 22, 2018

💡 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

bors-servo commented Jan 22, 2018

📌 Commit a241bed has been approved by mbrubeck

@bors-servo
Copy link
Contributor

bors-servo commented Jan 22, 2018

Testing commit a241bed with merge 580f0d7...

bors-servo added 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

bors-servo commented Jan 22, 2018

💔 Test failed - linux-rel-wpt

@ferjm
Copy link
Member Author

ferjm commented Jan 22, 2018

@bors-servo retry

@bors-servo
Copy link
Contributor

bors-servo commented Jan 22, 2018

Testing commit a241bed with merge ec8975b...

bors-servo added 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

bors-servo commented Jan 22, 2018

@bors-servo bors-servo merged commit a241bed into servo:master Jan 22, 2018
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@ferjm ferjm deleted the ferjm:issue-18831-fb-layout branch Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

7 participants
You can’t perform that action at this time.