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

Blocks rendering #268

Merged
merged 8 commits into from Jun 12, 2023
Merged

Blocks rendering #268

merged 8 commits into from Jun 12, 2023

Conversation

tordex
Copy link
Member

@tordex tordex commented Jun 12, 2023

No description provided.

moved display property based re-rendering from render_item_block::render
to the top functions: place_float, place_inline and
render_item_block_context::_render_content
* is_floats_holder function is renamed to is_block_formatting_context
* All floating boxes related functions are moved to new class formatting_context
* The class formatting_context was passed as argument to the render
  function
* render function is now is wrapper for _render. The render function
  creates formatting_context when required
Also added element::children() method.
Closes issue #27
* now ::before and ::after elements are created if content is not
  defined
* styles ::before and ::after without other selectors are applied
  to the already created before/after elements
@tordex tordex merged commit b2eef3c into master Jun 12, 2023
1 check passed
@tordex tordex deleted the blocks_rendering branch June 12, 2023 15:35
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.

None yet

2 participants