Skip to content

Block Validation: Ignore markup changes for the style attribute. #37851

@youknowriad

Description

@youknowriad

In #37495 we're discussing how to bring more coherence and consistency to the styles resulting from block customizations.

One of the "conclusions" of that discussion is that we should probably not consider a block that have differences in the wrapper level style attribute as invalid block.

So basically if the markup of the block is

<div style="something">content</div>

and the expected result is

<div style="something else">content</div>

The block should still be considered valid.

I'm creating this issue so we can track that and start exploring that change to the validation algorithm.

cc @andrewserong @aaronrobertshaw @mcsf @mtias

Related #21703

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs DevReady for, and needs developer efforts[Feature] Block Validation/DeprecationHandling block validation to determine accuracy and deprecation[Feature] ParsingRelated to efforts to improving the parsing of a string of data and converting it into a different f[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions