Skip to content

Overflow property(hidden) - #1298

Merged
bors-servo merged 4 commits into
servo:masterfrom
recrack:overflow_property
Nov 29, 2013
Merged

bors-servo merged 4 commits into
servo:masterfrom
recrack:overflow_property

Conversation

@recrack

@recrack recrack commented Nov 22, 2013

Copy link
Copy Markdown

@highfive

Copy link
Copy Markdown

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
  • These commits modify layout code, but no reftests are modified. Please consider adding a reftest!

Comment thread src/components/gfx/display_list.rs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Gecko we call this nsDisplayClip. Could we call this ClipDisplayItemClass? It's shorter.

@ksh8281

ksh8281 commented Nov 22, 2013

Copy link
Copy Markdown
Contributor

@jdm i remove that function that is unused function

@ksh8281

ksh8281 commented Nov 22, 2013

Copy link
Copy Markdown
Contributor

@pcwalton i agree the logic making display list is not good. after pr, i will create that issue that you mentioned

@ksh8281

ksh8281 commented Nov 25, 2013

Copy link
Copy Markdown
Contributor

@pcwalton r?

@SimonSapin

Copy link
Copy Markdown
Member

Just to clarify: this PR only implement 'overflow: hidden' and clips, right?

This is OK for now, but note that for web compat, 'overflow: hidden' can still scroll (from script) even though there is no scrollbar.

Comment thread src/components/style/properties.rs.mako Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please only parse values that are actually supported:

${single_keyword("overflow", "visible hidden", inherited=False)}  // TODO: scroll auto

@recrack

recrack commented Nov 26, 2013

Copy link
Copy Markdown
Author

@SimonSapin Ok, i will do it.

@ksh8281

ksh8281 commented Nov 28, 2013

Copy link
Copy Markdown
Contributor

i fixed test fails before @pcwalton r?

@bors-servo bors-servo closed this Nov 29, 2013
@bors-servo
bors-servo merged commit 9b4b414 into servo:master Nov 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants