ez css issue

Author Message

Paul Forsyth

Tuesday 27 January 2004 2:21:51 pm

Im a little confused with some css.

Take this bug report:

http://ez.no/community/bug_reports/fetch_content_tree_fatal_error_if_tpl_contains_user_errors

On linux, mozilla-firebired 0.7, konqueror, and others i presume, why does the text size suddenly increase after the end of the 'pre' block. I've had a brief look at the css and can't see anything in the way...

paul

Alex Jones

Tuesday 27 January 2004 2:48:46 pm

I would wager it has nothing to do with CSS, and rather is due to the misplacent of the pre tag which is not allowed within p tags. As there is not a p tag following the pre tag, the browser treats the text as normal text according to the containing element(s), so, the text after the pre is not assigned the standard font sizing for paragraphs. In many cases, modern browsers will consider a container tag (p in this case) closed if they run across in an invalidly nested tag within it (pre).

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:26:55
Script start
Timing: Jan 18 2025 19:26:55
Module start 'layout'
Timing: Jan 18 2025 19:26:55
Module start 'content'
Timing: Jan 18 2025 19:26:56
Module end 'content'
Timing: Jan 18 2025 19:26:56
Script end

Main resources:

Total runtime0.5986 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.9219152.6094
Module start 'layout' 0.00610.0023 741.531339.3984
Module start 'content' 0.00840.5889 780.9297518.0547
Module end 'content' 0.59730.0011 1,298.98448.2031
Script end 0.5985  1,307.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5470160.0002
Check MTime0.00130.2253160.0001
Mysql Total
Database connection0.00070.123610.0007
Mysqli_queries0.556492.9562540.0103
Looping result0.00040.0740520.0000
Template Total0.566394.620.2831
Template load0.00190.314520.0009
Template processing0.564494.279620.2822
Template load and register function0.00010.021010.0001
states
state_id_array0.00130.213810.0013
state_identifier_array0.00100.161920.0005
Override
Cache load0.00150.2565120.0001
Sytem overhead
Fetch class attribute can translate value0.00050.081720.0002
Fetch class attribute name0.00140.227030.0005
XML
Image XML parsing0.00060.108520.0003
class_abstraction
Instantiating content class attribute0.00000.001730.0000
General
dbfile0.00060.0989160.0000
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs