File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,9 +72,18 @@ public function testParseOnlyInheritsTextualStylesToDescendants(): void
7272 . '</div> ' ,
7373 );
7474
75- self ::assertSame ('width:58%;height:100%;padding:18 24;font-size:20;color:#123456 ' , $ nodes [0 ]->attributes ['style ' ]);
76- self ::assertSame ('font-size:20;color:#123456;font-weight:700 ' , $ nodes [0 ]->children [0 ]->attributes ['style ' ]);
77- self ::assertSame ('font-size:20;color:#123456;font-weight:700 ' , $ nodes [0 ]->children [0 ]->children [0 ]->attributes ['style ' ]);
75+ self ::assertSame (
76+ 'width:58%;height:100%;padding:18 24;font-size:20;color:#123456 ' ,
77+ $ nodes [0 ]->attributes ['style ' ],
78+ );
79+ self ::assertSame (
80+ 'font-size:20;color:#123456;font-weight:700 ' ,
81+ $ nodes [0 ]->children [0 ]->attributes ['style ' ],
82+ );
83+ self ::assertSame (
84+ 'font-size:20;color:#123456;font-weight:700 ' ,
85+ $ nodes [0 ]->children [0 ]->children [0 ]->attributes ['style ' ],
86+ );
7887 self ::assertStringNotContainsString ('width:58% ' , $ nodes [0 ]->children [0 ]->attributes ['style ' ]);
7988 self ::assertStringNotContainsString ('height:100% ' , $ nodes [0 ]->children [0 ]->attributes ['style ' ]);
8089 self ::assertStringNotContainsString ('padding:18 24 ' , $ nodes [0 ]->children [0 ]->attributes ['style ' ]);
You can’t perform that action at this time.
0 commit comments