mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Merge branch 'servo:master' into issue#29773
This commit is contained in:
commit
9c5119b951
13 changed files with 10 additions and 52 deletions
|
@ -943,6 +943,8 @@ impl FlexLine<'_> {
|
||||||
// it’s a min violation.”
|
// it’s a min violation.”
|
||||||
for (item_and_target_main_size, frozen) in items() {
|
for (item_and_target_main_size, frozen) in items() {
|
||||||
if violation(item_and_target_main_size) > Length::zero() {
|
if violation(item_and_target_main_size) > Length::zero() {
|
||||||
|
let (item, target_main_size) = item_and_target_main_size;
|
||||||
|
target_main_size.set(item.content_min_size.main);
|
||||||
frozen_count.set(frozen_count.get() + 1);
|
frozen_count.set(frozen_count.get() + 1);
|
||||||
frozen.set(true);
|
frozen.set(true);
|
||||||
}
|
}
|
||||||
|
@ -954,6 +956,11 @@ impl FlexLine<'_> {
|
||||||
// it’s a max violation.”
|
// it’s a max violation.”
|
||||||
for (item_and_target_main_size, frozen) in items() {
|
for (item_and_target_main_size, frozen) in items() {
|
||||||
if violation(item_and_target_main_size) < Length::zero() {
|
if violation(item_and_target_main_size) < Length::zero() {
|
||||||
|
let (item, target_main_size) = item_and_target_main_size;
|
||||||
|
let Some(max_size) = item.content_max_size.main else {
|
||||||
|
unreachable!()
|
||||||
|
};
|
||||||
|
target_main_size.set(max_size);
|
||||||
frozen_count.set(frozen_count.get() + 1);
|
frozen_count.set(frozen_count.get() + 1);
|
||||||
frozen.set(true);
|
frozen.set(true);
|
||||||
}
|
}
|
||||||
|
|
|
@ -557,8 +557,6 @@ class MachCommands(CommandBase):
|
||||||
features=features, **kwargs
|
features=features, **kwargs
|
||||||
)
|
)
|
||||||
|
|
||||||
elapsed = time() - build_start
|
|
||||||
|
|
||||||
# Do some additional things if the build succeeded
|
# Do some additional things if the build succeeded
|
||||||
if status == 0:
|
if status == 0:
|
||||||
if android and not no_package:
|
if android and not no_package:
|
||||||
|
@ -631,6 +629,7 @@ class MachCommands(CommandBase):
|
||||||
|
|
||||||
if has_media_stack:
|
if has_media_stack:
|
||||||
gst_root = gstreamer_root(target, env)
|
gst_root = gstreamer_root(target, env)
|
||||||
|
print("Packaging gstreamer dylibs")
|
||||||
if not package_gstreamer_dylibs(gst_root, servo_path):
|
if not package_gstreamer_dylibs(gst_root, servo_path):
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
@ -655,6 +654,7 @@ class MachCommands(CommandBase):
|
||||||
|
|
||||||
# Generate Desktop Notification if elapsed-time > some threshold value
|
# Generate Desktop Notification if elapsed-time > some threshold value
|
||||||
|
|
||||||
|
elapsed = time() - build_start
|
||||||
elapsed_delta = datetime.timedelta(seconds=int(elapsed))
|
elapsed_delta = datetime.timedelta(seconds=int(elapsed))
|
||||||
build_message = f"{'Succeeded' if status == 0 else 'Failed'} in {elapsed_delta}"
|
build_message = f"{'Succeeded' if status == 0 else 'Failed'} in {elapsed_delta}"
|
||||||
self.notify("Servo build", build_message)
|
self.notify("Servo build", build_message)
|
||||||
|
@ -858,8 +858,8 @@ def copy_dependencies(binary_path, lib_path, gst_root):
|
||||||
|
|
||||||
# Update binary libraries
|
# Update binary libraries
|
||||||
binary_dependencies = set(otool(binary_path))
|
binary_dependencies = set(otool(binary_path))
|
||||||
binary_dependencies = binary_dependencies.union(macos_plugins())
|
|
||||||
change_non_system_libraries_path(binary_dependencies, relative_path, binary_path)
|
change_non_system_libraries_path(binary_dependencies, relative_path, binary_path)
|
||||||
|
binary_dependencies = binary_dependencies.union(macos_plugins())
|
||||||
|
|
||||||
# Update dependencies libraries
|
# Update dependencies libraries
|
||||||
need_checked = binary_dependencies
|
need_checked = binary_dependencies
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[flex-grow-008.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[flexbox_justifycontent-center.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[flexbox_justifycontent-flex-end.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[flexbox_justifycontent-flex-start.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[flexbox_justifycontent-spacearound-only.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[flexbox_justifycontent-spacearound.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[flexbox_justifycontent-spacebetween-only.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[flexbox_justifycontent-spacebetween.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,7 +1,4 @@
|
||||||
[image-as-flexitem-size-005.html]
|
[image-as-flexitem-size-005.html]
|
||||||
[.flexbox > img 11]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[.flexbox > img 18]
|
[.flexbox > img 18]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -25,15 +22,3 @@
|
||||||
|
|
||||||
[.flexbox > img 2]
|
[.flexbox > img 2]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[.flexbox > img 14]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[.flexbox > img 17]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[.flexbox > img 12]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[.flexbox > img 9]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,19 +1,4 @@
|
||||||
[image-as-flexitem-size-005v.html]
|
[image-as-flexitem-size-005v.html]
|
||||||
[.flexbox > img 9]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[.flexbox > img 12]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[.flexbox > img 14]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[.flexbox > img 17]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[.flexbox > img 11]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[.flexbox > img 18]
|
[.flexbox > img 18]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
[percentage-heights-012.html]
|
[percentage-heights-012.html]
|
||||||
[.flexbox 9]
|
[.flexbox 9]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[.flexbox 10]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue