Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Hi, @cg...@chromium.org. Could you vote cq+1 with `win-11` again, please? We need to update windows baseline image. Thanks for your help.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Would you review this CL and vote cq+1, please? Thanks.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Adding Koji as he knows more about inline-layout/spacing.
const Length& spacing = style.SpecifiedWordSpacing();
What does "Specified" mean in this context? Specified is a term that normally refers to specified styles which could be a relative length, for instance, but the code here seems to assume it's a pixel value that is a zoom-adjusted computed value?
builder.SetWordSpacing(Length::Fixed(0.0f));
Why 0? Reading the spec, it says the initial value is 'normal', so this is supposed to be the initial value? If so, add a comment /* 'normal' */ perhaps?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thank you for review this!
const Length& spacing = style.SpecifiedWordSpacing();
What does "Specified" mean in this context? Specified is a term that normally refers to specified styles which could be a relative length, for instance, but the code here seems to assume it's a pixel value that is a zoom-adjusted computed value?
Thanks for your good feedback! I think it's better to handle this as computed value. So, how about changing function name to `
ComputedStyle::ComputedWordSpacing`?
builder.SetWordSpacing(Length::Fixed(0.0f));
Why 0? Reading the spec, it says the initial value is 'normal', so this is supposed to be the initial value? If so, add a comment /* 'normal' */ perhaps?
I think it's initial value for 'normal', but I'm not sure. I was just implementing without behavior changes at the `
StyleAdjuster::AdjustStyleForCombinedText`.
Hi @ko...@chromium.org, can I ask about this, please?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
const Length& spacing = style.SpecifiedWordSpacing();
김민성What does "Specified" mean in this context? Specified is a term that normally refers to specified styles which could be a relative length, for instance, but the code here seems to assume it's a pixel value that is a zoom-adjusted computed value?
Thanks for your good feedback! I think it's better to handle this as computed value. So, how about changing function name to `
ComputedStyle::ComputedWordSpacing`?
Or the below?
```
float ComputedStyle::ComputedWordSpacing();
Length ComputedStyle::WordSpacing();
```
Change name of the `WordSpaincg` to the `ComputedWordSpacing` that returns computed float value. And change the `SpecifiedWordSpacing` to the `WordSpacing`. It looks more specific.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
const Length& spacing = style.SpecifiedWordSpacing();
김민성What does "Specified" mean in this context? Specified is a term that normally refers to specified styles which could be a relative length, for instance, but the code here seems to assume it's a pixel value that is a zoom-adjusted computed value?
김민성Thanks for your good feedback! I think it's better to handle this as computed value. So, how about changing function name to `
ComputedStyle::ComputedWordSpacing`?
Or the below?
```
float ComputedStyle::ComputedWordSpacing();
Length ComputedStyle::WordSpacing();
```
Change name of the `WordSpaincg` to the `ComputedWordSpacing` that returns computed float value. And change the `SpecifiedWordSpacing` to the `WordSpacing`. It looks more specific.
I see that we're using the "specified" term for other properties, and they should be consistent, so I guess we can leave it for now even though the names are confusing.
const Length& spacing = style.SpecifiedWordSpacing();
김민성What does "Specified" mean in this context? Specified is a term that normally refers to specified styles which could be a relative length, for instance, but the code here seems to assume it's a pixel value that is a zoom-adjusted computed value?
김민성Thanks for your good feedback! I think it's better to handle this as computed value. So, how about changing function name to `
ComputedStyle::ComputedWordSpacing`?
Rune LillesveenOr the below?
```
float ComputedStyle::ComputedWordSpacing();
Length ComputedStyle::WordSpacing();
```
Change name of the `WordSpaincg` to the `ComputedWordSpacing` that returns computed float value. And change the `SpecifiedWordSpacing` to the `WordSpacing`. It looks more specific.
I see that we're using the "specified" term for other properties, and they should be consistent, so I guess we can leave it for now even though the names are confusing.
Okay, I'll add a TODO comment here for understanding. Thanks.
Hi! Would you take a look when you have chance, please?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
This is a web-exposed change. I think this needs a chromestatus.com entry, with "No developer-visible change" feature type.
// TODO(crbug.com/327740939): Rename this because `Specified` is a term that
Please fix it in this CL.
This is a web-exposed change. I think this needs a chromestatus.com entry, with "No developer-visible change" feature type.
Thanks! I've requested access to create a new feature. I'll create a new entry and follow the below steps.
https://www.chromium.org/blink/launching-features/#process-existing-standard
// TODO(crbug.com/327740939): Rename this because `Specified` is a term that
Please fix it in this CL.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Looks ok to me, but I think this should be reviewed by core/css/OWNERS.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |