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

Render `background-image: url(…)` #25512

Merged
merged 21 commits into from Jan 17, 2020
Merged

Render `background-image: url(…)` #25512

merged 21 commits into from Jan 17, 2020

Conversation

@SimonSapin
Copy link
Member

SimonSapin commented Jan 13, 2020

… and support most background-* properties.

Still to do:

  • background-attachment
  • Gradients
@SimonSapin SimonSapin added this to In progress in Layout 2020 via automation Jan 13, 2020
@SimonSapin
Copy link
Member Author

SimonSapin commented Jan 13, 2020

r? @nox
@bors-servo try=wpt-2020

@bors-servo
Copy link
Contributor

bors-servo commented Jan 13, 2020

Trying commit b5042ea with merge fdfaa9f...

bors-servo added a commit that referenced this pull request Jan 13, 2020
Render `background-image: url(…)`

… and support most `background-*` properties.

Still to do:

* `background-attachment`
* Gradients
@bors-servo
Copy link
Contributor

bors-servo commented Jan 13, 2020

☀️ Test successful - status-taskcluster
State: approved= try=True

Copy link
Member

nox left a comment

Nice comments all around.

@@ -553,13 +563,15 @@ impl LayoutThread {
fn build_layout_context<'a>(
&'a self,
guards: StylesheetGuards<'a>,
script_initiated_layout: bool,

This comment has been minimized.

Copy link
@nox

nox Jan 14, 2020

Member

Maybe an enum, LayoutRequestOrigin or something?

This comment has been minimized.

Copy link
@SimonSapin

SimonSapin Jan 14, 2020

Author Member

This is copied from components/layout_thread

dump_display_list: bool,
dump_display_list_json: bool,
dump_style_tree: bool,
dump_rule_tree: bool,

This comment has been minimized.

Copy link
@nox

nox Jan 14, 2020

Member

Such an unethical method. 😂 No nit here though, we don't have time for that.

This comment has been minimized.

Copy link
@SimonSapin

SimonSapin Jan 14, 2020

Author Member

Yeah it’s pretty bad, but also copied over.

@@ -25,6 +25,7 @@ ipc-channel = "0.12"
libc = "0.2"
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
once_cell = "1.2.0"

This comment has been minimized.

Copy link
@nox

nox Jan 14, 2020

Member

We already use mitochondria, which has an OnceCell, I think.

This comment has been minimized.

Copy link
@SimonSapin

SimonSapin Jan 14, 2020

Author Member

Switched

@@ -426,7 +426,7 @@ impl<'a> BuilderForBoxFragment<'a> {
clipping_area_origin: f32,
clipping_area_size: f32,
positioning_area_size: f32,
) -> (f32, f32) {
) -> (bool, f32, f32) {

This comment has been minimized.

Copy link
@nox

nox Jan 14, 2020

Member

Struct would be nice here.

This comment has been minimized.

Copy link
@SimonSapin

SimonSapin Jan 14, 2020

Author Member

Done

@SimonSapin
Copy link
Member Author

SimonSapin commented Jan 17, 2020

@bors-servo r=nox

@bors-servo
Copy link
Contributor

bors-servo commented Jan 17, 2020

📌 Commit 86c028e has been approved by nox

bors-servo added a commit that referenced this pull request Jan 17, 2020
Render `background-image: url(…)`

… and support most `background-*` properties.

Still to do:

* `background-attachment`
* Gradients
@bors-servo
Copy link
Contributor

bors-servo commented Jan 17, 2020

Testing commit 86c028e with merge ba93475...

@bors-servo
Copy link
Contributor

bors-servo commented Jan 17, 2020

💔 Test failed - status-taskcluster

@SimonSapin
Copy link
Member Author

SimonSapin commented Jan 17, 2020

@bors-servo retry

#25523 ?

  ▶ TIMEOUT [expected OK] /html/semantics/forms/the-button-element/button-submit-remove-children-jssubmit.html
  │ 
  │ 
  │ 
  └ 
  ▶ Unexpected subtest result in /html/semantics/forms/the-button-element/button-submit-remove-children-jssubmit.html:
  │ TIMEOUT [expected PASS] This test will pass if a form navigation successfully occurs when clicking a child element of a <button type=submit> element with a onclick event handler which removes the button's child and then calls form.submit().
  └   → Test timed out
@bors-servo
Copy link
Contributor

bors-servo commented Jan 17, 2020

Testing commit 86c028e with merge 9120257...

bors-servo added a commit that referenced this pull request Jan 17, 2020
Render `background-image: url(…)`

… and support most `background-*` properties.

Still to do:

* `background-attachment`
* Gradients
@bors-servo
Copy link
Contributor

bors-servo commented Jan 17, 2020

💔 Test failed - status-taskcluster

@SimonSapin
Copy link
Member Author

SimonSapin commented Jan 17, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Jan 17, 2020

Testing commit 86c028e with merge 1de9290...

bors-servo added a commit that referenced this pull request Jan 17, 2020
Render `background-image: url(…)`

… and support most `background-*` properties.

Still to do:

* `background-attachment`
* Gradients
@bors-servo
Copy link
Contributor

bors-servo commented Jan 17, 2020

☀️ Test successful - status-taskcluster
Approved by: nox
Pushing 1de9290 to master...

@bors-servo bors-servo merged commit 86c028e into master Jan 17, 2020
2 checks passed
2 checks passed
Community-TC (pull_request) TaskGroup: success
Details
homu Test successful
Details
Layout 2020 automation moved this from In progress to Merged / resolved Jan 17, 2020
@bors-servo bors-servo deleted the background-image branch Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Layout 2020
  
Merged / resolved
Linked issues

Successfully merging this pull request may close these issues.

None yet

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