aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/block.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/block.rs')
-rw-r--r--components/layout/block.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout/block.rs b/components/layout/block.rs
index fdfec58e776..c73f97a821b 100644
--- a/components/layout/block.rs
+++ b/components/layout/block.rs
@@ -708,9 +708,9 @@ impl BlockFlow {
/// Return true if this has a replaced fragment.
///
- /// Text, Images, Inline Block and
- // Canvas (https://html.spec.whatwg.org/multipage/#replaced-elements)
- // fragments are considered as replaced fragments
+ /// Text, Images, Inline Block and Canvas
+ /// (https://html.spec.whatwg.org/multipage/#replaced-elements) fragments are considered as
+ /// replaced fragments.
fn is_replaced_content(&self) -> bool {
match self.fragment.specific {
SpecificFragmentInfo::ScannedText(_) |