Issue #3400359: External fonts cannot be loaded via add_css ajax command
1 unresolved thread
Closes #3400359
Merge request reports
Activity
added 50 commits
-
bb5216d9...31911458 - 49 commits from branch
project:11.x
- d7d289b5 - AJAX add_css external css
-
bb5216d9...31911458 - 49 commits from branch
- Resolved by Luhur Abdi Rizal
added 7 commits
-
d7d289b5...b7540532 - 6 commits from branch
project:11.x
- ee6ca14c - AJAX add_css external css
-
d7d289b5...b7540532 - 6 commits from branch
added 5 commits
-
abe6e93f...d170fb04 - 3 commits from branch
project:11.x
- 5d2c3337 - AJAX add_css external css
- db9c5b05 - use https://example.com as href
-
abe6e93f...d170fb04 - 3 commits from branch
- Resolved by Luhur Abdi Rizal
36 36 // Tests the 'add_css' command. 37 37 $page->pressButton("AJAX 'add_css' command"); 38 38 $this->assertWaitPageContains('my/file.css'); 39 $this->assertWaitPageContains('https://example.com/css?family=Open+Sans'); We need to test that it is a
<link>
tag, otherwise<script src="https://example.com/css?family=Open+Sans" async="" href="https://example.com/css?family=Open+Sans" media="all"></script>
will return true.That is the problem the issue trying to address, without
css!
prefix, theloadjs
library will insertscript
tagchanged this line in version 10 of the diff
added 1 commit
- 0e56a16a - select elements do not just match the html string
added 19 commits
-
0e56a16a...910b569f - 13 commits from branch
project:11.x
- c5001aff - AJAX add_css external css
- d8a29e4a - use https://example.com as href
- 1e5303ee - add back query param
- db08e298 - Update CommandsTest.php
- ef9670b7 - Update ajax_forms_test.module
- 5f4870da - select elements do not just match the html string
Toggle commit list-
0e56a16a...910b569f - 13 commits from branch
- Resolved by Luhur Abdi Rizal
added 275 commits
-
309d3786...b1fbff58 - 274 commits from branch
project:11.x
- f041c9cb - Merge branch drupal:11.x into 3400359-without-big-pipe
-
309d3786...b1fbff58 - 274 commits from branch
Please register or sign in to reply