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

Use the writing mode of the containing block when accessing CSS properties #26836

Merged
merged 1 commit into from Jun 10, 2020

Conversation

@SimonSapin
Copy link
Member

SimonSapin commented Jun 9, 2020

… and converting them to flow-relative geometric values.

These values are almost always used to size and position a fragment within its containing block, so using the mode of the containing block seems more correct.

Note that the writing-mode and direction properties are disabled in Servo at the moment, so this PR by itself should have no effect: the writing mode of an element is always the same of that of its containing block since they’re both horizontal rtl.

@nox
Copy link
Member

nox commented Jun 9, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Jun 9, 2020

📌 Commit 11a0e80 has been approved by nox

@bors-servo
Copy link
Contributor

bors-servo commented Jun 10, 2020

🔒 Merge conflict

@bors-servo
Copy link
Contributor

bors-servo commented Jun 10, 2020

The latest upstream changes (presumably #26833) made this pull request unmergeable. Please resolve the merge conflicts.

…rties

… and converting them to flow-relative geometric values.

These values are almost always used to size and position a fragment within its containing block, so using the mode of the containing block seems more correct.

Note that the `writing-mode` and `direction` properties are disabled in Servo at the moment, so this PR by itself should have no effect: the writing mode of an element is always the same of that of its containing block since they’re both horizontal rtl.
@SimonSapin SimonSapin force-pushed the containing-block-writing-mode branch from 11a0e80 to 08f008a Jun 10, 2020
@SimonSapin
Copy link
Member Author

SimonSapin commented Jun 10, 2020

@bors-servo r=nox

@bors-servo
Copy link
Contributor

bors-servo commented Jun 10, 2020

📌 Commit 08f008a has been approved by nox

@bors-servo
Copy link
Contributor

bors-servo commented Jun 10, 2020

Testing commit 08f008a with merge 92135bc...

bors-servo added a commit that referenced this pull request Jun 10, 2020
Use the writing mode of the containing block when accessing CSS properties

… and converting them to flow-relative geometric values.

These values are almost always used to size and position a fragment within its containing block, so using the mode of the containing block seems more correct.

Note that the `writing-mode` and `direction` properties are disabled in Servo at the moment, so this PR by itself should have no effect: the writing mode of an element is always the same of that of its containing block since they’re both horizontal rtl.
@bors-servo
Copy link
Contributor

bors-servo commented Jun 10, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Jun 10, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Jun 10, 2020

Testing commit 08f008a with merge 83155b3...

bors-servo added a commit that referenced this pull request Jun 10, 2020
Use the writing mode of the containing block when accessing CSS properties

… and converting them to flow-relative geometric values.

These values are almost always used to size and position a fragment within its containing block, so using the mode of the containing block seems more correct.

Note that the `writing-mode` and `direction` properties are disabled in Servo at the moment, so this PR by itself should have no effect: the writing mode of an element is always the same of that of its containing block since they’re both horizontal rtl.
@bors-servo
Copy link
Contributor

bors-servo commented Jun 10, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Jun 10, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Jun 10, 2020

Testing commit 08f008a with merge a30b952...

bors-servo added a commit that referenced this pull request Jun 10, 2020
Use the writing mode of the containing block when accessing CSS properties

… and converting them to flow-relative geometric values.

These values are almost always used to size and position a fragment within its containing block, so using the mode of the containing block seems more correct.

Note that the `writing-mode` and `direction` properties are disabled in Servo at the moment, so this PR by itself should have no effect: the writing mode of an element is always the same of that of its containing block since they’re both horizontal rtl.
@bors-servo
Copy link
Contributor

bors-servo commented Jun 10, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Jun 10, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Jun 10, 2020

Testing commit 08f008a with merge 0367ec2...

@bors-servo
Copy link
Contributor

bors-servo commented Jun 10, 2020

☀️ Test successful - status-taskcluster
Approved by: nox
Pushing 0367ec2 to master...

@bors-servo bors-servo merged commit 0367ec2 into master Jun 10, 2020
2 checks passed
2 checks passed
Community-TC (pull_request) TaskGroup: success
Details
homu Test successful
Details
@bors-servo bors-servo deleted the containing-block-writing-mode branch Jun 10, 2020
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.

None yet

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