Download & Extend

Improve "Cascading stylesheets" tests

Project:Drupal core
Version:7.x-dev
Component:simpletest.module
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)
Issue tags:Quick fix

Issue Summary

As [#469242#comment-1776116] proves, if a patch adds some css inline using drupal_add_css() it will always fail testRenderInlineFullPage() because the test checks the full <style> tag without knowing if some other css was added inline.
I changed the text so it uses an insane font-size and only check if that is added to the page.

AttachmentSizeStatusTest resultOperations
css-test.patch1.13 KBIdlePassed: 11660 passes, 0 fails, 0 exceptionsView details

Comments

#1

The issue is #469242: Move <head> outside page.tpl.php and the problem is described in #37

Note to self: learn to use preview when adding an issue.

#2

Status:needs review» reviewed & tested by the community

Seems good.

#3

Status:reviewed & tested by the community» fixed

Committed to CVS HEAD. Thanks.

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here